package vip.xiaonuo.sys.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import vip.xiaonuo.common.consts.FeignConstant;

/**
 * @author zjt
 * @description
 * @since 2025/7/21 09:42
 */
@FeignClient(name = FeignConstant.WEB_APP, contextId = "WechatFeign")
public interface WechatFeign {

    /**
     * 发送应用文字通知
     *
     * @param toUserId
     * @param content
     */
    @RequestMapping("/feign/sys/wechat/sendAppTextNotice")
    void sendAppTextNotice(@RequestParam("toUserId") String toUserId, @RequestParam("content") String content);
}
